[//

async function( kuo,Context,context){

    if(ADMINSafety != ""){
        let $Security = await Mem.Get("session/"+kuo.sessionid);
        if($Security){
            if(typeof($Security['num']) != "undefined" && $Security['num'] > 3){
                Context.body = "Security filtering !!!";
                return ;
            }
        }
        if( !$Security || $Security['security'] != ADMINSafety ){
            if( typeof(kuo.get['security']) != "undefined" ){
                if(!$Security){
                    $Security ={
                        'security':"",
                        'agent':"",
                        'ip':"",
                        'num' : 0,
                        'securitytime':0
                    };
                }
                if( kuo.get['security'] == ADMINSafety){
                    $Security['security'] = ADMINSafety;
                    $Security['agent'] =kuo.agent;
                    $Security['ip'] = kuo.ip;
                    $Security['num'] =0;
                    Context.statusCode = 302;
                    Context.headers["Location"] = "?";
                    Context.body ="";
                    await  Mem.Put("session/"+kuo.sessionid,$Security,Expiredseconds);
                    return ;
                }else{
                    $Security['num'] = $Security['num']*1+1;
                    await Mem.Put("session/"+kuo.sessionid,$Security,Expiredseconds);
                }
            }
            Context.body = "Security filtering !!";
            return ;
        }

        if(typeof($Security['agent']) == "undefined" || kuo.agent != $Security['agent']){
            Mem.Del("session/"+kuo.sessionid);
            Context.body ="Security filtering agent !";
            return ;
        }
    }
    
    Context.body = await Mode("TPL").Render("@admin/index",kuo,this);
}

]